package model;

import model.Token.Value;

/**
 * Classe armazena informaçoes sobre os erros sintáticos.
 * 
 * @author Alen e Jody
 * 
 */
public class ParseError extends CompileError {
    private Value expected;

    public ParseError(String lexeme, ErrorType type, int lineNumber,
	    Value expected) {
	super(lexeme, type, lineNumber);
	this.expected = expected;
    }

    public Value getExpected() {
	return expected;
    }

    public void setExpected(Value expected) {
	this.expected = expected;
    }

}
